<!--
描述：库房组件
开发人：zangyanming
开发日期：2018年8月7日
-->
<template lang="pug">
    keep-alive
        kalix-table(bizKey="bookSection" title='材料科信息列表' v-bind:tableFields="tableFields" v-bind:targetURL="targetURL"
        v-bind:bizDialog="bizDialog" v-bind:bizSearch="'BookSectionSearch'" v-bind:btnList="btnList"
        v-bind:isFixedColumn="isFixedColumn")
</template>

<script type="text/ecmascript-6">
    import {BookSectionURL, ToolButtonList} from '../../config.toml'

    export default {
        name: 'kalix-educational-booksection',
        data() {
            return {
                btnList: ToolButtonList,
                targetURL: BookSectionURL,
                tableFields: [
                    {prop: 'name', label: '名称'},
                    {prop: 'sarea', label: '所属校区'},
                    {prop: 'contact', label: '联系人'},
                    {prop: 'tel', label: '电话'},
                    {prop: 'fax', label: '传真'},
                    {prop: 'email', label: '电子信箱'},
                    {prop: 'bankName', label: '开户行'},
                    {prop: 'account', label: '账号'}
                ],
                bizDialog: [
                    {id: 'view', dialog: 'BookSectionView'},
                    {id: 'edit', dialog: 'BookSectionAdd'},
                    {id: 'add', dialog: 'BookSectionAdd'}
                ],
                isFixedColumn: true
            }
        },
        components: {},
        created() {
        },
        activated() {
        },
        deactivated() {
        },
        methods: {}
    }
</script>

<style scoped lang="stylus">
</style>
